package com.nightsoul.groovy

public class SwitchTest{

	public static void main(def args){
		switch(10) {
			case 0 : assert false;break;
			case 0..9 : assert false;break;
			case [8,9,11] : assert false;break;
			case Float : assert false;break;
			case {it%3==0} : assert false;break;
			case ~/../ : assert true;break;
			default : assert false;break;
		}
	}
	
}
